package com.demo.annotation;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by win10 on 2020/2/5 11:25
 */
@Service("service")
public class serviceimpl implements service {

    @Autowired
    private userdao dao;

    public void add() {
        dao.add();
        System.out.println("service .........");
    }
}
